
import React from 'react';
import { useRoutes } from 'react-router-dom';
import routesConfig from './routesConfig';
import NavBar from './components/NavBar';
function App() {
  return (
    <>
      <NavBar />
      {useRoutes(routesConfig)}
    </>
  )
}
export default App;
/**
 * V5 Switch Prompt Redirect都没有了
 * 或者说默认路由 
 * 
 */